﻿using System.Drawing;

namespace Helper
{
    public static class SystemEnums
    {
        public enum UserRole
        {
            管理员,
            工程师,
            操作员,
            访客
        }


        public enum ResCode
        {
            Success = 0,
            Fail = 1
        }

        public static readonly Dictionary<string, Color> BtnTypeEnum = new Dictionary<string, Color>
        {
            {"primary",Color.FromArgb(80, 160, 255)},
            {"sucess",Color.FromArgb(240, 173, 78)},
            {"carning",Color.FromArgb(217, 83, 79)}
        };

        public enum Level
        {
            Log = 1,
            Warn = 2,
            Error = 3
        }


    }
}
